package com.example.chirdrenserver.Service.AdminService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.chirdrenserver.Pojo.dto.BasePage;
import com.example.chirdrenserver.Pojo.dto.admin.CommentDTO;
import com.example.chirdrenserver.Pojo.vo.admin.CommentVO;

import java.util.List;

public interface AdminCommentService {
    boolean addComment(CommentDTO commentDTO);
    boolean replyComment(Long parentId, CommentDTO commentDTO);
    boolean deleteComment(Long commentId);
    CommentVO getCommentById(Long commentId);
    IPage<CommentVO> getCommentList(Long postId, BasePage basePage);
    List<CommentVO> getRepliesByParentId(Long parentId);
}